package com.yanyilu.basing.service;

import com.yanyilu.basing.common.R;
import com.baomidou.mybatisplus.service.IService;
import com.yanyilu.basing.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sxx
 * @since 2020-10-26
 */
public interface IUserService extends IService<User> {

    R addUser(User user);

    R updateUser(User user);

    R AdminDeleteUser(Integer userId);

    public R selectByAdminList(Integer page,Integer limit,String userName,String contactDetails);

    R countNum();
}
